package com.jindy.module.logisticscost.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 物流产品对象 t_logistics_product
 * 
 * @author jindy
 * @date 2023-04-06
 */
@Data
public class LogisticsProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 物流id */
    @Excel(name = "物流id")
    private Long logisticsId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNo;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 日租金 */
    @Excel(name = "日租金")
    private BigDecimal dailyRent;

    /** 订单属性（1出库，2入库） */
    @Excel(name = "订单属性")
    private String orderProperty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLogisticsId(Long logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public Long getLogisticsId() 
    {
        return logisticsId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductNo(String productNo) 
    {
        this.productNo = productNo;
    }

    public String getProductNo() 
    {
        return productNo;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setDailyRent(BigDecimal dailyRent) 
    {
        this.dailyRent = dailyRent;
    }

    public BigDecimal getDailyRent() 
    {
        return dailyRent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("logisticsId", getLogisticsId())
            .append("productName", getProductName())
            .append("productNo", getProductNo())
            .append("productId", getProductId())
            .append("unit", getUnit())
            .append("model", getModel())
            .append("quantity", getQuantity())
            .append("dailyRent", getDailyRent())
            .append("remark", getRemark())
            .toString();
    }
}
